//base
import Taro, { Component } from '@tarojs/taro'
import { View, Text, Image } from '@tarojs/components'
//less
import './index.less'
import RIGHT from '../../../../static/images/right.png'
import { navigateTo } from '../../../../crossplatform/apiservice/navigate'
import pagejumplist from '../../../../configuration/pagejumplist.json'

class GoFeedback extends Component {
  componentWillMount() {
    //onLoad
  }

  componentDidMount() {
    //onready
  }

  componentDidShow() {
    //onshow
  }

  componentDidHide() {
    //onhide
  }

  componentWillUnmount() {
    //onUnload
  }

  goto = () => {
    navigateTo({
      url: pagejumplist['feed-back'].path
    })
  }

  render() {
    return (
      <View className="GoFeedback_id34644" onClick={this.goto}>
        <View className="feedbackl">
          <View className="feedbacklt">意见反馈</View>
          <View className="feedbacklb">欢迎积极反馈意见</View>
        </View>
        <Image className="feedbackr" src={RIGHT} />
      </View>
    )
  }
}

export default GoFeedback
